package chen.web.forum.tag;

import java.util.Date;

public class Tag {
	private int id;
	private String name;
	private int flag;
	private int subjectCount;
	private Date created;
	
	public Tag(String name){
		this.setName(name);
	}
	
	Tag(){};
	
	public int getId() {
		return id;
	}
	void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getFlag() {
		return flag;
	}
	void setFlag(int flag) {
		this.flag = flag;
	}

	public int getSubjectCount() {
		return subjectCount;
	}

	void setSubjectCount(int subjectCount) {
		this.subjectCount = subjectCount;
	}

	public Date getCreated() {
		return created;
	}

	void setCreated(Date created) {
		this.created = created;
	}
	
}
